<%@ page contentType="text/html;charset=UTF-8" %>
<nav id="nav_main" class="text_info">

    <span id="txt_home_title" class="nav_text">WolfCode Mall管理后台</span>
    <i id="i_nickname_slide"></i>
    <span id="txt_home_nickname"><c:choose><c:when test="${admin.adminNickname != ''}">${admin.adminNickname}</c:when><c:otherwise>${admin.admin_name}</c:otherwise></c:choose></span>
    <img id="img_home_profile_picture"
         src="${admin.adminProfilePictureSrc}"
         onerror="this.src='/images/admin/homePage/default_profile_picture-32x32.png'"
         alt="头像" title="头像" width="32px" height="32px">
    <input id="admin_id" type="hidden" value="${admin.adminId}"/>
    <ul id="nav_tools">
        <li id="nav_tools_admin_manage">账号管理</li>
        <li id="nav_tools_admin_logout" onclick="window.location='/admin/logout'">注销</li>
    </ul>
</nav>